package com.financial.service.heemoney.controller.report;

import com.financial.service.heemoney.dto.inparameter.HeemoneyWxPayConfigInParamDTO;
import com.financial.service.heemoney.service.FinancialWxconfigHeemoneylogService;
import com.financial.service.heemoney.utils.apiresult.ApiResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 汇收银微信通道进件配置信息
 *
 * @author zhaopengjun
 * @email dashuaizhao@aliyun.com
 * @date 2019-12-26 15:38:37
 */

@RestController
@RequestMapping("/heemoneyWxconfig")
public class HeemoneyWxconfigController {
    @Autowired
    private FinancialWxconfigHeemoneylogService financialWxconfigHeemoneylogService;

    @PostMapping("/wxconfig")
    public ApiResult wxconfig(@RequestBody HeemoneyWxPayConfigInParamDTO heemoneyWxPayConfigInParamDTO) {
        return financialWxconfigHeemoneylogService.wxconfig(heemoneyWxPayConfigInParamDTO);
    }
}
